#pragma once 
#include "TcpConnection.h"
#include <cstring>


namespace 
{
    static const unsigned char rtmp_server_ver[4] =
    {
        0x0D,0x0E,0x0A,0x0D
    };

    static  const unsigned char rtmp_client_ver[4] = 
    {
        0x0C,0x00,0x0D,0x0E
    };

}


namespace tmms
{
    namespace mmedia
    {
        class RtmpHandShake
        {
        private:

        public:
            RtmpHandShake(const TcpConnectionPtr &conn,bool client);
            void Start();

        };
    }
}
